<#-- 默认余额 -->
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <base href="${baseURL}" target="_self">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>余额 - ${title}</title>
    <meta name="keywords" content="${keywords}"/>
    <meta name="description" content="${description}"/>
    <#-- 获取令牌 -->
    <meta name="csrfToken" content="${token}"/>
    <link href="${commonPath}css/common.css" type="text/css" rel="stylesheet" charset="utf-8">
    <link href="${commonPath}css/themify-icons/style.css" type="text/css" rel="stylesheet">
    <script src="${commonPath}js/tool.js" type="text/javascript"></script>
    <script src="${commonPath}js/ajax.js" type="text/javascript"></script>
    <script src="${commonPath}js/json2.js" type="text/javascript"></script>
    <script src="${commonPath}js/jquery/jquery.min.js" type="text/javascript"></script>
    <link href="${commonPath}js/layer/skin/default/layer.css" type="text/css" rel="stylesheet"/>
    <script type="text/javascript" src="${commonPath}js/layer/layer.js"></script>
</head>
<script type="text/javascript">

</script>
<body>
<#-- 引入页头 -->
<@include action="${newPublic_2}"/>
<div class="skeleton">
    <div class="main backgroundModule">

        <#-- 引入服务导航 -->
        <@include action="${newPublic_4}"/>

        <!-- 余额  -->
        <div class="balanceModule">
            <span class="deposit"><span class="name">余额：</span>￥${deposit}</span>

            <span class="buttonBox">
				<button type="button" class="payButton"
                        onclick="javascript:window.location.href='user/control/payment?paymentModule=5'">充值</button>
			</span>
        </div>
        <div class="clearfix" style="height: 10px;background: #f8f8f9;"></div>
        <div class="dataTable paymentLogListModule">
            <TABLE class="dataList" width="100%">
                <THEAD>
                <TR class="dataThead">
                    <TH width="30%">支付流水号</TH>
                    <TH width="20%">金额</TH>
                    <TH width="15%">模块</TH>
                    <TH width="15%">时间</TH>
                    <TH width="20%">备注</TH>
                </TR>
                </THEAD>
                <TBODY>
                <#if pageView.records?? && pageView.records?size gt 0 >
                    <#list pageView.records as paymentLog>
                        <TR>
                            <TD class="dataTD">${paymentLog.paymentRunningNumber}</TD>
                            <TD class="dataTD">
                                <#if paymentLog.amountState == 1>
                                    +
                                <#elseif paymentLog.amountState == 2>
                                    -
                                </#if>
                                ${paymentLog.amount}
                            </TD>
                            <TD class="dataTD">
                                <#if paymentLog.paymentModule == 1>
                                    会员卡订单支付
                                <#elseif paymentLog.paymentModule == 5>
                                    充值
                                <#elseif paymentLog.paymentModule == 70>
                                    余额购买话题隐藏内容
                                <#elseif paymentLog.paymentModule == 80>
                                    解锁话题隐藏内容分成
                                <#elseif paymentLog.paymentModule == 90>
                                    悬赏金额
                                <#elseif paymentLog.paymentModule == 100>
                                    采纳答案
                                <#elseif paymentLog.paymentModule == 110>
                                    调整赏金
                                <#elseif paymentLog.paymentModule == 120>
                                    话题发红包
                                <#elseif paymentLog.paymentModule == 130>
                                    话题收红包
                                <#elseif paymentLog.paymentModule == 140>
                                    话题返还红包
                                </#if>
                            </TD>
                            <TD class="dataTD">${paymentLog.times?string("yyyy-MM-dd HH:mm:ss")}</TD>
                            <TD class="dataTD">${paymentLog.remark}</TD>
                        </TR>
                    </#list>
                </#if>
                <#if !pageView.records?? || pageView.totalrecord == 0 >
                    <TR>
                        <TD colSpan="5" class="empty">还没有日志</TD>
                    </TR>
                </#if>
                </TBODY>
            </TABLE>
            <DIV class=pageList>
                <@include action="${newPublic_1}"/>
            </DIV>
        </div>

    </div>

</div>
<#--引入页脚-->
<@include action="${newPublic_3}"/>
</body>

</html>
